$bg_cor: #22a6f8; //导航背景色
@mixin clear {
    &:after {
        content: '';
        clear: both;
        zoom: 1;
        display: table-cell;
    }
}

.top {
    width: 100%;
    margin: 0 auto;
    background: #F1F2F4;
    height: 30px;
    .con {
        width: 1200px;
        margin: 0 auto;
        @include clear;
        .lf {
            float: left;
            ul li {
                float: left;
                @include clear;
                &:hover a {
                    transform: rotate(360deg);
                    color: #ff6700;
                }
                a {
                    color: #868686;
                    font-size: 14px;
                    padding: 0 6px;
                    line-height: 30px;
                    transition: all 0.3s ease;
                    display: inline-block;
                }
            }
            .wx {
                position: relative;
                em {
                    content: '';
                    width: 0;
                    height: 0;
                    display: none;
                    position: absolute;
                    left: 0;
                    top: 20px;
                    border-width: 10px;
                    border-style: solid;
                    border-color: transparent transparent #fff;
                }
                &:hover em,
                &:hover img {
                    display: block;
                }
                img {
                    display: none;
                    position: absolute;
                    top: 30px;
                    width: 120px;
                    height: 120px;
                    border: 2px solid #fff;
                    z-index: 9;
                    left: 50%;
                    transform: translateX(-50%);
                }
            }
        }
        .rgt {
            float: right;
            line-height: 30px;
            font-size: 14px;
            color: #868686;
            span {
                margin-right: 8px;
            }
            i {
                margin-right: 2px;
            }
        }

    }
}

.btm {
    width: 100%;
    background: $bg_cor;
    height: 50px;
    .con {
        width: 1200px;
        margin: 0 auto;
        @include clear;
        .frgt {
            float: right;
            position: relative;
        }
        .logo {
            display: inline-block;
            margin-top: 5px;
            a {
                display: inline-block;
            }
        }
        .nav {
            display: inline-block;
            height: 48px;
            ul > li {
                //&:first-child{
                //  background: url("../img/1.png") no-repeat right /100% 50px;
                //}
                float: left;
                @include clear;
                font-size: 15px;
                padding: 0 30px;
                line-height: 50px;
                //margin-right: 35px;
                position: relative;
                transition: all 0.3s;
                transform-origin: center;
                background: url("../img/2.png") no-repeat right /100% 50px;
                margin-right: -16px;
                &.cur {
                    &:after {
                        content: '';
                        position: absolute;
                        width: 50px;
                        height: 2px;
                        background: #fff;
                        display: block;
                        left: 50%;
                        bottom: 4px;
                        transform: translateX(-50%);
                    }
                }
                .abus {
                    @include clear;
                    width: 600px;
                    .navlist {
                        float: left;
                        margin-left: 30px;
                    }
                    .prod {
                        float: right;
                        width: 400px;
                        img {
                            width: 360px;
                            height: 130px;
                            display: inline-block;
                        }
                        p {
                            padding: 0 15px;
                            color: #fff;
                            text-align: left;
                        }
                    }
                }
                &:hover {
                    background: url("../img/22-1.png") no-repeat center /100% 50px;
                    &:after {
                        content: '';
                        position: absolute;
                        width: 50px;
                        height: 2px;
                        background: #22a6f8;
                        display: block;
                        left: 50%;
                        bottom: 4px;
                        transform: translateX(-50%);
                    }
                    em {
                        //                                  border-color: #22a6f8 transparent transparent;
                        //                                  transform: rotate(-180deg);
                    }
                    .list {
                        top: 49px;
                        left: 14px;
                        z-index: 2;
                        opacity: 1;
                        visibility: visible;
                    }
                    > a {
                        display: inline-block;
                        color: #22a6f8 !important;
                    }
                }

                a {
                    color: #fff;
                    em {
                        position: absolute;
                        display: block;
                        width: 0;
                        height: 0;
                        border-style: solid;
                        border-width: 5px;
                        border-color: #fff transparent transparent;
                        top: 50%;
                        right: 16px;
                        transition: all 0.3s;
                        transform-origin: center top;
                    }
                }
                .list {
                    transition: all 0.3s ease-in-out;
                    display: block;
                    position: absolute;
                    background: $bg_cor;
                    //                  background: #59C6F5;
                    top: 100px;
                    left: 15px;
                    min-width: 120px;
                    padding: 10px 0;
                    text-align: center;
                    line-height: 2;
                    opacity: 0;
                    z-index: -1;
                    visibility: hidden;
                    font-size: 14px;
                    dd {
                        width: 100%;
                        text-align: center;
                        line-height: 2.5;
                        &:hover a {
                            color: #111 !important;
                        }
                        a {
                            &:before {
                                content: '\f105';
                                font-family: FontAwesome;
                                padding-right: 10px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.search {
    display: inline-block;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    line-height: 50px;
    vertical-align: bottom;
    margin-left: 20px;
}
.search_con {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #22a6f8;
    top: 0;
    left: 0;
    transition: all .5s;
    input {
        width: 100%;
        height: 98%;
        background: transparent;
        outline: none;
        border: none;
        padding-left: 40px;
        color: #fff;
    }
    ::-webkit-input-placeholder {
        color: #666;
    }
    :-moz-placeholder {
        color: #666;
    }
    :-ms-input-placeholder {
        color: #666;
    }
    .fa {
        position: absolute;
        color: #fff;
        font-size: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: lighter;
        cursor: pointer;
    }
    .fa-search {
        left: 10px;
    }
    .fa-close {
        right: 10px;
    }
}

//轮播
.banner {
    width: 100% !important;
    overflow: auto;
    position: relative;
    max-width: 1920px !important;
    margin: -1px auto 0;
    img {
        border: none;
        width: 100%;
        height: 500px;
        display: block;
        margin: 0 auto;
    }
    ul {
        li {
            float: left;
        }
        @include clear;
    }
    .dots {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20px;
        text-align: center;
        li {
            display: inline-block;
            width: 10px;
            height: 10px;
            margin: 0 4px;
            text-indent: -999em;
            border: 2px solid #fff;
            border-radius: 6px;
            cursor: pointer;
            opacity: 0.4;
            transition: background 0.5s, opacity 0.5s;
            &.active {
                background: #fff;
                opacity: 1;
            }
        }
    }
}

//公共底部
footer {
    width: 100%;
    box-sizing: border-box;
    @include clear;
    .f_top {
        width: 100%;
        background: #32373c;
        padding-top: 40px;
        .contain {
            width: 1200px;
            margin: 0 auto;
            .showus {
                display: inline-block;
                width: 60%;
                padding: 0 15px;
                margin-bottom: 30px;
                p {
                    font-size: 14px;
                    color: #aaa;
                    text-indent: 2em;
                    line-height: 1.5;
                    margin-bottom: 11px;
                }
                a {
                    color: #aaa;
                    transition: color 0.3s;
                    .fa-arrow-circle-right {
                        margin-left: 10px;
                    }
                    &:hover {
                        color: #ff6700;
                    }
                }
            }
            .linkus {
                display: inline-block;
                width: 30%;
                float: right;
                .d1 {
                    width: 100%;
                    .blo {
                        display: inline-block;
                        width: 45%;
                    }
                }
                .qq {
                    margin: 15px 0 0 22px;
                    ul {
                        @include clear;
                        li {
                            float: left;
                            &:hover a {
                                transform: rotate(360deg);
                                color: #ff6700;
                            }
                            a {
                                color: #868686;
                                font-size: 14px;
                                padding: 0 6px;
                                transition: all 0.3s ease;
                                display: inline-block;
                            }
                        }
                        .wx {
                            position: relative;
                            em {
                                content: '';
                                width: 0;
                                height: 0;
                                display: none;
                                position: absolute;
                                left: 0;
                                top: 13px;
                                border-width: 10px;
                                border-style: solid;
                                border-color: transparent transparent #fff;
                            }
                            &:hover em,
                            &:hover img {
                                display: block;
                            }
                            img {
                                display: none;
                                position: absolute;
                                top: 32px;
                                width: 120px;
                                height: 120px;
                                border: 2px solid #fff;
                                z-index: 9;
                                left: 50%;
                                transform: translateX(-50%);
                            }
                        }
                    }
                }
                .t1 {
                    font-size: 16px;
                    color: #f1f1f1;
                    i {
                        font-size: 22px;
                        margin-right: 8px;
                        vertical-align: text-top;
                    }
                }
                .text {
                    font-size: 12px;
                    color: #aaa;
                    margin-top: 10px;
                    padding-left: 30px;
                }
            }
        }

    }
    span.tle {
        font-size: 18px;
        color: #fff;
        padding: 0 5px 15px;
        margin-bottom: 15px;
        border: none;
        display: inline-block;
        position: relative;
        &:after {
            content: '';
            display: block;
            position: absolute;
            width: 45px;
            height: 2px;
            left: 0;
            bottom: 0;
            background: #ff6700;
        }
    }

    .f_btm {
        width: 100%;
        background: #282d32;
        .contain {
            width: 1200px;
            margin: 0 auto;
            .frilink {
                width: 1200px;
                margin: 0 auto;
                text-align: center;
                font-size: 14px;
                color: #aaa;
                padding-top: 15px;
                span {
                    margin-left: 10px;
                }
                a {
                    color: #aaa;
                    margin-left: 5px;
                    &:hover {
                        color: #ff6700;
                    }
                }
            }
            .copyright {
                padding: 20px 0;
                text-align: center;
                color: #aaa;
                line-height: 1.5;
                p:first-child {
                    margin-bottom: 11px;
                }
                a {
                    color: #aaa;
                }
            }
        }
    }
}

.flo_top {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
}
.gotop {
    display: none;
    width: 36px;
    height: 36px;
    background: #ff6700;
    line-height: 36px;
    text-align: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    i {
        font-size: 18px;
        color: #fff;
        animation: move 1s infinite;
    }
}
@keyframes move {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}
